package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 班级对象 sys_class
 * 
 * @author ruoyi
 */
public class SysClass extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 班级ID */
    @Excel(name = "班级ID")
    private Long classId;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String className;

    /** 班级状态（0正常 1停用） */
    @Excel(name = "班级状态", readConverterExp = "0=正常,1=停用")
    private String classStatus;

    /** 班级说明 */
    @Excel(name = "班级说明")
    private String classDesc;

    /** 绑定教师ID */

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 绑定教师ID */
    private Long teacherId;

    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }

    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }

    public void setClassStatus(String classStatus) 
    {
        this.classStatus = classStatus;
    }

    public String getClassStatus() 
    {
        return classStatus;
    }

    public void setClassDesc(String classDesc)
    {
        this.classDesc = classDesc;
    }

    public String getClassDesc()
    {
        return classDesc;
    }

    public void setTeacherId(Long teacherId)
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId()
    {
        return teacherId;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("classId", getClassId())
            .append("className", getClassName())
            .append("classStatus", getClassStatus())
            .append("classDesc", getClassDesc())
            .append("teacherId", getTeacherId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}